package design_pattern.factory;

public class test {
	public static void main(String[] args) {
        Factory factory = new FactoryA();
        Product a = factory.create();
        a.say();
        
        new FactoryB().create().say();
	}
}
